package com.ocom.common.vo.payconfig;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CouponsDataListVo {
        @NotNull(message = "单位编号不能为空")
        private Long comId;

        @JsonProperty(value = "orderNo")
        @NotNull(message = "订单号不能为空")
        private String orderNo;

        @JsonProperty(value = "deptId")
        private Long deptId;

        @JsonProperty(value = "tag")
        private String tag;

        @JsonProperty(value = "pCode")
        private String pCode;

        @JsonProperty(value = "pName")
        private String pName;

        @JsonProperty(value = "accType")
        private int accType;
        @NotNull(message = "页码不能为空")

        @JsonProperty(value = "page")
        private int page;
        @NotNull(message = "页数不能为空")

        @JsonProperty(value = "size")
        private int size;

        @JsonProperty(value = "voucherTypeId")
        private int voucherTypeId;

}
